import http from '@/utils/http'


//产品的分类列表
export const getCategoryListAPI=() =>{
  return http.get('/api/pro/categorylist')
}


//产品分类下品牌列表
export const getCategoryBrandlistAPI=(category:any) =>{
  return http.get('/api/pro/categorybrandlist',{
    params:{
      category
    }
  })
}

// /获取某分类下某品牌的产品列表

export const getCateGoryBrandProListAPI=(count=1,limitNum=10,category:any,brand:any) =>{
  return http.get('/api/pro/categorybrandprolist',{
    params:{
      count,
      limitNum,
      category,
      brand
    }
  })
}




